﻿// controller to handle the user's profile (not editing)
angular.module('app.user').controller('UserProfileController', [
    '$scope', '$state',
    function ($scope, $state) {
		// change the password -> go to the edit state
        $scope.changePassword = function () {            
            $state.go('user.edit');
        };
    }]);